package com.bf.electroplating.pojo.dto.comFireEquipmentInventory;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class ComFireEquipmentInventoryVO {

    private static final long serialVersionUID = 1L;

    @Schema( description ="ID")
    @TableId("ID")
    private String id;

    @Schema( description ="园区ID")
    @TableField("PARK_ID")
    private String parkId;

    @Schema( description ="企业ID")
    @TableField("COMPANY_ID")
    private String companyId;

    @Schema( description ="企业名称")
    @TableField("COMPANY_NAME")
    private String companyName;

    @Schema( description ="车间编号")
    @TableField("WORKSHOP_CODE")
    private String workshopCode;

    @Schema( description ="车间名称")
    @TableField("WORKSHOP_NAME")
    private String workshopName;

    @Schema( description ="消防栓数量")
    @TableField("FIRE_HYDRANT_COUNT")
    private Integer fireHydrantCount;

    @Schema( description ="灭火器数量及规格")
    @TableField("FIRE_EXTINGUISHER_COUNT")
    private String fireExtinguisherCount;

    @Schema( description ="器材类型")
    @TableField("EQUIPMENT_TYPE")
    private String equipmentType;

    @Schema( description ="器材型号")
    @TableField("EQUIPMENT_MODEL")
    private String equipmentModel;

    @Schema( description ="安装日期")
    @TableField("INSTALLATION_DATE")
    private LocalDate installationDate;

    @Schema( description ="最后维护日期")
    @TableField("LAST_MAINTENANCE_DATE")
    private LocalDate lastMaintenanceDate;

    @Schema( description ="下次维护日期")
    @TableField("NEXT_MAINTENANCE_DATE")
    private LocalDate nextMaintenanceDate;

    @Schema( description ="维护状态(1-正常 2-需维护 3-故障)")
    @TableField("MAINTENANCE_STATUS")
    private String maintenanceStatus;

    @Schema( description ="负责人")
    @TableField("RESPONSIBLE_PERSON")
    private String responsiblePerson;

    @Schema( description ="联系电话")
    @TableField("CONTACT_PHONE")
    private String contactPhone;

    @Schema( description ="安装位置")
    @TableField("INSTALLATION_LOCATION")
    private String installationLocation;

    @Schema( description ="状态(1-正常 0-停用)")
    @TableField("STATUS")
    private String status;

    @Schema( description ="备注")
    @TableField("REMARKS")
    private String remarks;

    @Schema( description ="创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @Schema( description ="创建时间")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @Schema( description ="修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @Schema( description ="修改时间")
    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @Schema( description ="逻辑删除")
    @TableField("DEL_FLAG")
    private String delFlag;
}
